namespace SD.EF
{
    using System;
    using System.Data.Entity;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Linq;

    public partial class SdContext : DbContext
    {
        public SdContext()
            : base("name=SdContext")
        {
            //Database.SetInitializer(new DatabaseInitializer());
        }


        protected override void OnModelCreating(DbModelBuilder modelBuilder)
        {
        }

        public virtual DbSet<FilmEntity> Films { get; set; }
        public virtual DbSet<WatchEntity> Watchs { get; set; }
        public virtual DbSet<BuyingEntity> Buyings { get; set; }
        public virtual DbSet<OrderEntity> Orders { get; set; }

    }
}
